package decorativePattern;

public abstract class Decorator extends SwordsMan {
    private SwordsMan mSwordsMan;

    public Decorator(SwordsMan mSwordsMan) {
        this.mSwordsMan = mSwordsMan;
    }

    @Override
    public void attackMagic() {
        this.mSwordsMan.attackMagic();
    }
}
